package yz.com.javautil.test;

import java.text.SimpleDateFormat;

/**
 * @author Administrator
 */
public class testsimple {
    public static void main(String[] args) {
        String startTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(System.currentTimeMillis()-4*60000-600000);
        String entTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(System.currentTimeMillis()-4*60000);
        System.out.println(startTime);
        System.out.println(entTime);
    }
}
